package com.weixing.mall.provider.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.weixing.mall.core.support.auth.SysAuth;
import com.weixing.mall.provider.model.domain.AgentRefund;
import com.weixing.mall.provider.model.dto.AgentRefundDto;
import com.weixing.mall.provider.model.query.AgentRefundQuery;
import com.weixing.mall.provider.model.vo.AgentRefundVo;

/**
 * <p>
 * 代理商模块-代理商退费记录表 服务类
 * </p>
 *
 * @author Small
 * @since 2019-11-18
 */
public interface IAgentRefundService extends IService<AgentRefund> {

    /**
     * @Description 条件分页查询退费记录列表 <br/>
     * @author gjq
     * @date 2019/9/24 14:38
     * @param page
     * @Param: agentRefundQuery
     * @return com.github.pagehelper.PageInfo<com.weixing.mall.provider.model.vo.AgentRefundVo>
     */
    IPage<AgentRefundVo> selectOfPage(Page page, AgentRefundQuery agentRefundQuery,SysAuth auth);

    /**
     * @Description 保存退费记录 <br/>
     * @author gjq
     * @date 2019/9/24 14:38
     * @param agentRefundDto
     * @return void
     */
    void save(AgentRefundDto agentRefundDto, SysAuth auth);
}
